package com.niit.cms.entity;

import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * (Userinfo)实体类
 *
 * @author makejava
 * @since 2022-06-22 21:42:58
 */
public class Userinfo implements Serializable {
    private static final long serialVersionUID = -39650483383900617L;

    private Integer id;
    @Length(min = 1, max = 24, message = "用户名长度在1-24之间！")
    private String username;
    @Length(min = 6, max = 16, message = "密码长度在6-16之间！")
    private String pwd;

    private String gender;

    private String identity;

    private String introduce;

    private String education;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

}

